<?php if($this->messages) {?>
	<div class="flash-messages">
	<?php  foreach($this->messages as $message) {?>
		<div class="message"><?php echo $this->translate($message);?></div>
	<?php } ?>
	</div>
<?php } ?>